pp108 : Transforming Data using XSLT Functions

Transforming Data using XSLT Functions

This topic describes the procedure to transform data using the default Process Platform XSLT function library.
  1. Access theData Transformation Modeler. The Data Transformation modeler page is displayed.
  2. Right-click the Map Canvas (middle) pane of the Modeler tab, and select the required <Function> library. For more information on the XSLT functions, refer to XSLT Functions. The selected <Function> icon is displayed on the Map Canvas. Note: You can see instructions on using the modeler, functions, or the properties pane, at the bottom of the modeler.
  3. Right-click the <Function> icon and select Properties. Alternatively, you can double-click the <Function> icon to open the Properties pane. The Properties pane appears below displaying a table, in which the parameters and values of the selected function have to be specified.
  4. Select the element in the source template, hold the CTRL key, and select the required parameter in the Properties pane.

    Note:

    • You can also specify a custom value as the parameter. Type the custom value in the box displayed in the parameter row.
    • If you are using the Web service lookup function, select the element in the Source template, hold the CTRL key, and click the required parameter in the Web service.

    The element is displayed in the value column of the function block.

  5. Select the <Function>, hold the CTRL key, and select the target element. A line connecting the <Function> and the target element appears. This line indicates that the output value, based on the inputs to the <Function> from the source template, is mapped to the selected target element. Note: The target can be a node, an attribute, or a function block.
  6. Click to save the transformation. To add another XSLT function, repeat steps 2 to 5. Note: To delete a function, right-click the function, and click Delete.
    The data is transformed using the XSLT function library.

Related tasks

Creating a Data Transformation Model
Creating XML Schema Fragments
Creating an Object Template
Testing a Data Transformation Model
Generating a Web Service Operation on a Data Transformation Model
Extending Custom Functions
Creating a Content Map

Related information

Testing Web Service Operations Using Service Test Tool
http://www.w3.org/TR/xslt
XSLT Functions